package com.wc.blue_bridge_test.base.T54;

import java.util.Scanner;

/**
 * @Author congge
 * @Date 2023/12/29 11:09
 * @description 时间转换
 * https://lx.lanqiao.cn/problem.page?gpid=T54
 */
public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int t = sc.nextInt();
        int S = t % 60;
        int M = t / 60 % 60;
        int H = t / 3600;

        System.out.println(H + ":" + M + ":" + S);
    }
}
